const msg = {
	state: {
		name: '', // 网站名字
		user: '',
		pw: ''
	},
	mutations: {
		demo: (state, obj) => {
			state = Object.assign(state, obj)
		}
	},
	actions: {
    vueXmodule({ commit }, obj) {
			return commit('demo', { ...obj })
		}
	}
}

export default msg